<%@ taglib prefix="s" uri="/struts-tags"%>

<!-- action="updateBannersFees.htm" -->
<s:form action="" theme="simple" method="post">
	<table width="100%">
		<tr>
        	<td height="40" class="sectionheading bottom-border">Banner Fees</td>
		</tr>
		<tr>
			<td valign="top" class="verdana12blacknormal">
				Please enter the fees for Banners Impressions. Do not include any
				currency symbols, only digits and the decimal point or comma.
				<br>
				<br>
			</td>
		</tr>
		<tr>
			<td valign="top" width="100%">
				<table width="100%" border="0" cellpadding="1" cellspacing="1">
					<tr>
						<td align="right" class="verdana12darkgreybold">Base fee per day : </td>
						<td><input type="text" class="Textfiled-border" /></td>
					</tr>
					<tr>
						<td align="right" class="verdana12darkgreybold">Base fee per view : </td>
						<td><input type="text" class="Textfiled-border" /></td>
					</tr>
					<tr>
						<td align="right" class="verdana12darkgreybold">Base fee per click : </td>
						<td><input type="text" class="Textfiled-border" /></td>
					</tr>
				</table>
			<!--
				<table width="100%" border="0" cellpadding="0" cellspacing="0" class="Textfiled-border">
					<tbody>
						<tr  align="center" bgcolor="#f0f0e1" height="20">
							<td rowspan="2" align="center" bgcolor="#E9E9E9" class="right-border verdana12darkgreybold">
								Impressions
							</td>
							<td colspan="2" align="center" bgcolor="#E9E9E9" class="right-border verdana12darkgreybold">
								468x60
							</td>
							<td colspan="2" align="center" bgcolor="#E9E9E9" class="verdana12darkgreybold">
								120x90
							</td>
						</tr>
						<tr  align="center" bgcolor="#f0f0e1">
							<td align="center" bgcolor="#E9E9E9" class="verdana12darkgreybold">
								CPM**
							</td>
							<td align="center" bgcolor="#E9E9E9" class="right-border verdana12darkgreybold">
								Total Price
							</td>
							<td align="center" bgcolor="#E9E9E9" class="verdana12darkgreybold">
								CPM**
							</td>
							<td align="center" bgcolor="#E9E9E9" class="verdana12darkgreybold">
								Total Price
							</td>
						</tr>

					<s:iterator value="bannersImpressionsList" status="rowstatus">
						<s:hidden name="bannersImpressionsMap[%{id}].id" value="%{id}" />
						<s:if test="#rowstatus.even">
						<tr>
							<td  align="center" class="verdana12blacknormal right-border" bgcolor="#F8F8F8">
								&nbsp;
								<b><s:text name="impressions" /><s:hidden name="bannersImpressionsMap[%{id}].impressions" value="%{impressions}" /></b>&nbsp;
							</td>
							<td align="center" class="verdana12blacknormal right-border" bgcolor="#F8F8F8">
								<s:textfield theme="simple" cssClass="Textfiled-no-border-even" name="bannersImpressionsMap[%{id}].cpm468x60" value="%{cpm468x60}" size="15" />
							</td>
							<td align="center" class="verdana12blacknormal right-border" bgcolor="#F8F8F8">
								<s:textfield theme="simple" cssClass="Textfiled-no-border-even" name="bannersImpressionsMap[%{id}].totalPrice468x60" value="%{totalPrice468x60}" size="15" />
							</td>
							<td align="center" class="verdana12blacknormal right-border" bgcolor="#F8F8F8">
								<s:textfield theme="simple" cssClass="Textfiled-no-border-even" name="bannersImpressionsMap[%{id}].cpm120x90" value="%{cpm120x90}" size="15" />
							</td>
							<td align="center" class="verdana12blacknormal" bgcolor="#F8F8F8">
								<s:textfield theme="simple" cssClass="Textfiled-no-border-even" name="bannersImpressionsMap[%{id}].totalPrice120x90" value="%{totalPrice120x90}" size="15" />
							</td>
						</tr>
						</s:if>
						<s:else>
						<tr>
							<td  align="center" class="verdana12blacknormal right-border">
								&nbsp;
								<b><s:text name="impressions" /><s:hidden name="bannersImpressionsMap[%{id}].impressions" value="%{impressions}" /></b>&nbsp;
							</td>
							<td align="center" class="verdana12blacknormal right-border">
								<s:textfield theme="simple" cssClass="Textfiled-no-border-odd" name="bannersImpressionsMap[%{id}].cpm468x60" value="%{cpm468x60}" size="15" />
							</td>
							<td align="center" class="verdana12blacknormal right-border">
								<s:textfield theme="simple" cssClass="Textfiled-no-border-odd" name="bannersImpressionsMap[%{id}].totalPrice468x60" value="%{totalPrice468x60}" size="15" />
							</td>
							<td align="center" class="verdana12blacknormal right-border">
								<s:textfield theme="simple" cssClass="Textfiled-no-border-odd" name="bannersImpressionsMap[%{id}].cpm120x90" value="%{cpm120x90}" size="15" />
							</td>
							<td align="center" class="verdana12blacknormal">
								<s:textfield theme="simple" cssClass="Textfiled-no-border-odd" name="bannersImpressionsMap[%{id}].totalPrice120x90" value="%{totalPrice120x90}" size="15" />
							</td>
						</tr>
						</s:else>
					</s:iterator>

					</tbody>
				</table>
			 -->
			</td>
		</tr>
		<tr>
			<td align="center" width="100%">
				<s:submit theme="simple" type="image" src="../Admin-Images/save-chagnes-button.gif" value="Save Changes" />
				<input type="image" src="../Admin-Images/reset-button.gif" value="Reset" onclick="this.form.reset();">
				<img onclick="history.go(-1);" src="../Admin-Images/cancel_btn.gif" alt="Cancel">
			</td>
		</tr>
	</table>
</s:form>